public class PanDuan {
   public boolean isNum(String temp) {
        return temp.matches("[0-9]");
    }
}
